-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
3.2.4
-
Code
-
Classes
- CartItemsCollection
Total Complexity |
37 |
Dependencies |
1 |
Dependents |
4 |
Total lines |
201 |
Lines of code |
111 |
Logical lines of code |
63 |
Comment lines |
36 |
Methods |
15 |
Properties |
2 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
setPriceForItem() |
S |
56 |
5 |
18 |
add() |
S |
58 |
5 |
15 |
sort_items() |
S |
62 |
5 |
12 |
getNotEmptyItemWithReferenceByHash() |
S |
67 |
4 |
8 |
getItemByHash() |
S |
67 |
3 |
8 |
removeItemByHash() |
S |
64 |
3 |
10 |
__clone() |
S |
69 |
2 |
7 |
getTotalQty() |
S |
69 |
2 |
7 |
makeItemsImmutable() |
S |
73 |
2 |
5 |
__construct() |
S |
81 |
1 |
3 |
isEmpty() |
S |
80 |
1 |
3 |
get_items() |
S |
82 |
1 |
3 |
getHash() |
S |
71 |
1 |
6 |
purge() |
S |
81 |
1 |
3 |
getCount() |
S |
80 |
1 |
3 |